package com.mezz.bones.framework.payment.domain.enums;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("支付方式")
public enum PayMethodEnum {

    WECHAT_PAY("wechat_pay","app,pc,qrcode"),
    ALI_PAY("ali","qr_code,app"),
    PNR("pnr","qr_code");

    @ApiModelProperty("支付方式")
    private String payMethod;

    @ApiModelProperty("支持的支付通道")
    private String payChannel;

    PayMethodEnum(String payMethod, String payChannel) {
        this.payMethod = payMethod;
        this.payChannel = payChannel;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }
}
